#include<stdio.h>
int main()
{
	int *p,*q,a[5],b[5],i;
	p=&a[0];
	q=b;
	printf("please enter arrey a:\n");
	for(i=0;i<5;i++)
	scanf("%d",&a[i]);
	printf("please enter arrey b:\n");
	for(i=0;i<5;i++)
	scanf("%d",&b[i]);
	printf("arrey a is:\n");
	for(i=0;i<5;i++)
	printf("%5d",*p++);
	printf("\n");
	printf("arrey b is :\n");
	for(i=0;i<5;i++)
	printf("%5d",*q++);
	printf("\n");
	return 0;
 } 
